export *  from "./play2";


export {play}

class play{

    className:string = "play2";

    play(){
        console.log(this.className);
        console.log(mySearch1("aaaabbbbb","ab"))
    }

  
}

interface SerarchFunc{
    (source:string,searchStr:string):boolean;
}


let mySearch1:SerarchFunc = function(source:string,searchStr:string){
    if(source.search(searchStr)== -1){
        return false;
    }else{
        return true;
    }
};

console.log(mySearch1("aaaabbbbb","ab"))


